package com.sxhuayuan.parking.plugin.parking.dahua.request;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SluiceControlRequest {

	private String channelId;
	private String displayInfo;
	private Integer operateType;

	public static SluiceControlRequest open(String channelId) {
		return new SluiceControlRequest(1, channelId);
	}

	public static SluiceControlRequest close(String channelId) {
		return new SluiceControlRequest(2, channelId);
	}

	private SluiceControlRequest(Integer operateType, String channelId) {
		this.operateType = operateType;
		this.channelId = channelId;
		this.displayInfo = "一路顺风";
	}
}
